home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6471 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: shark.sb.grci.com!usenet
  2. From: "Howard S. Ostrowsky" <shermo@sb.grci.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Jumping into the middle of a control structure
  5. Date: 8 Feb 1996 18:44:48 GMT
  6. Organization: GRC International, Inc.
  7. Message-ID: <4fdgb0$i4c@shark.sb.grci.com>
  8. NNTP-Posting-Host: sherm.sb.grci.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
  13.  
  14. I hope someone who is knowledgable about the C++ Standard can tell me
  15. whether the Standard absolutely prohibits jumping into the middle of 
  16. a control structure, i.e., by a goto (!).  I know that this practice
  17. is strongly denigrated, and I also know that the FORTRAN-90 standard 
  18. has an absolute prohibition agains it.  But at least one C++ compiler 
  19. gave no warning or error message when this was inadvertently done in 
  20. a program.
  21.  
  22. Can anybody illuminate my confusion on this matter.
  23.  
  24.                  Howard S. Ostrowsky
  25.                  Tech Staff Member, GRC International
  26.  
  27.